<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<meta http-equiv="Pragma" content="no-cache" /> 
	<meta http-equiv="Cache-Control" content="no-cache" /> 
	<meta http-equiv="Expires" content="0" />
	
	<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
	<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
	<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
	<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
	<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
	<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet">
	<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
	<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
	<title>后台管理</title>
</head>

<body class="body_ifm">
	<div class="infoboxp"> 
		<div class="admin_new_tip">
			<a href="javascript:;" class="admin_new_tip_close"></a>
			<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
			<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
			<div class="admin_new_tip_list_cont">
				<div class="admin_new_tip_list">网络视频招聘会</div>
				<div class="admin_new_tip_list">信息同步：开办网络视频招聘会需要同步部分必要信息：同步创建的网络招聘会相关信息，参会企业基本信息、在招岗位简要信息</div>

				<div class="admin_new_tip_list">简历授权：网络视频招聘会经过求职者同意后自动获取相关简历信息，用于招聘会信息投递</div>

				<div class="admin_new_tip_list">信息回流：网络视频招聘会 会将意向参会企业、新用户简历、投递记录等回流到当前站点，起到引流作用</div>
			</div>
		</div>
		
		<div class="clear"></div>
		<div style="height:10px;"></div>

		<div class="main_tag">
			<div class="tag_box">
			<iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe> 
	<form action="index.php?m=admin_zphnet_video&c=save" method="post"  class="layui-form" enctype= "multipart/form-data" target="supportiframe" onsubmit="return checkform();">
			
					<table width="100%" class="table_form">
						<tr>
							<th width="200" bgcolor="#f0f6fb"><span class="admin_bold">参数说明</span></th>
							<td bgcolor="#f0f6fb"><span class="admin_bold">参数值</span></td>
						</tr>
						<tr class="admin_table_trbg">
							<th width="200">是否开启：</th>
							<td> 
								<div class="layui-form-item">
									<div class="layui-input-block">
										<div class="layui-input-inline">
											<input id="sy_zphnetvideo_isopen_1" type="radio" {yun:}if $config.sy_zphnetvideo_isopen=='1'{/yun}checked=""{yun:}/if{/yun} lay-filter="isopen" value="1" name="sy_zphnetvideo_isopen" title="开启" >
											
											<input id="sy_zphnetvideo_isopen_2" type="radio" {yun:}if $config.sy_zphnetvideo_isopen!='1'{/yun}checked=""{yun:}/if{/yun} lay-filter="isopen" value="2" name="sy_zphnetvideo_isopen" title="关闭" >
										</div>
									</div>
								</div>
							</td>
						</tr>
						<tr class="admin_table_trbg">
							<th width="200">站点编号：</th>
							<td><input class="input-text tips_class" type="text" name="sy_zphnetvideo_id" id="sy_zphnetvideo_id" value="{yun:}$config.sy_zphnetvideo_id{/yun}" size="50" maxlength="255"/>  
							<span class="admin_web_tip"> 站点ID 登录站长平台查看 </span></td>
						</tr>
						<tr class="admin_table_trbg">
							<th width="200">KEY：</th>
							<td><input class="input-text tips_class" type="text" name="sy_zphnetvideo_key" id="sy_zphnetvideo_key" value="{yun:}$config.sy_zphnetvideo_key{/yun}" size="50" maxlength="255"/>  
							<span class="admin_web_tip"> 授权KEY 登录站长平台查看</span></td>
						</tr>

						<tr>
							<td colspan="2" align="center">
								<input class="layui-btn layui-btn-normal" id="config" type="submit" value="接口配置" />
								&nbsp;&nbsp;
								<input class="layui-btn layui-btn-normal" type="reset" value="重置" />
							</td>
						</tr>
					</table>
					<input type="hidden" id="pytoken" name="pytoken" value="{yun:}$pytoken{/yun}">
				</form>
			</div>
		</div>
	</div>
	<script> 
		layui.use(['layer', 'form'], function(){
			var layer = layui.layer
			,form = layui.form
			,$ = layui.$;

			
			 
		});
		function checkform(){
			
			var sy_zphnetvideo_isopen	=	$("input[name=sy_zphnetvideo_isopen]:checked").val();
			
			var siteid = $("#sy_zphnetvideo_id").val();
			
			var key = $("#sy_zphnetvideo_key").val();

			if(sy_zphnetvideo_isopen == '1'){
				if(siteid==""){
					parent.layer.msg('请填写站点编号', 2, 8);
					return false;
				}
				
				if(key==""){
					parent.layer.msg('请填写通信KEY', 2, 8);
					return false;
				}
			}
			loadlayer();

			return true;
		}
		
	</script>
	<script src="{yun:}$config.sy_weburl{/yun}/js/layui.upload.js?v={yun:}$config.cachecode{/yun}" type='text/javascript'></script> 

 </body>
</html>